package ngramencoding;

import java.io.IOException;

/** ============================================================================
 * CallEncoder class instantiates an object from class Encoder.
 * @author Susan Higashi
 */
public class CallEncoder
{
    public static void main(String[] args) throws IOException 
    {	
        long initialTime = 0;

        Encoder encoder = new Encoder();
        initialTime = encoder.createEntries("rn-input.txt");
        
        //execution spent time
        float totalTime = ((float) (System.currentTimeMillis() - initialTime)) / 1000;
        System.out.println(totalTime + " seconds");
    }
}